﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Komunikator.Core;

namespace TestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {

            ConfigFileWriter writer = new ConfigFileWriter();
            Assert.AreEqual("123", writer.Base64Decoding(writer.Base64Decoding("TVRJeg==")));

        }

        [TestMethod]
        public void TestMethod2()
        {

            ConfigFileWriter writer = new ConfigFileWriter();
            Assert.AreEqual("TVRJeg==", writer.Base64Encoding(writer.Base64Encoding("123")));

        }
    }
}
